home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6571 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: dfw.nkn.net!usenet
  2. From: wiersch@fastlane.net (Albert Wiersch)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Getting a 256 BMP to look right in client window
  5. Date: Fri, 09 Feb 1996 19:24:13 GMT
  6. Organization: National Knowledge Network
  7. Message-ID: <4ffvqp$gr5@dfw.nkn.net>
  8. References: <4fevig$6tf@dfw.nkn.net> <4ff4uh$8mv@due.unit.no>
  9. NNTP-Posting-Host: fw60.fastlane.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. rustad@fm.unit.no (Rolf Rustad) wrote:
  13.  
  14. >Albert Wiersch (wiersch@fastlane.net) wrote:
  15. >: I am writing a Win 95 program that copies a BMP to the client window.
  16. >: It is a 256 color bitmap and when I run the program in 64k colors, it
  17. >: looks great but when I run the program in 256 colors, it looks like
  18. >: crap. I assume that I need to somehow tell the computer the palette
  19. >: needs adjusting so that it will look right. What can I do about this?
  20. >: 
  21. >: Any help would be appreciated!
  22. >: 
  23.  
  24. >The colors in your bitmap conflict with and are overruled by the colors in the
  25. >system palette. You have to set the palette spesifically, but then you risk 
  26. >that the rest of your screen will look like crap.
  27.  
  28. >Rolf
  29.  
  30. That is my question... how do I change the system palette so my 256
  31. color BMP will look right on a 256 color display? I want the system
  32. palette to match as best as possible the palette in the bitmap I am
  33. displaying.
  34.  
  35. Thanx,
  36. Albert
  37.  
  38. Regards,
  39. Albert Wiersch
  40. METRO 817-589-9600
  41. wiersch@fastlane.net
  42. http://www.fastlane.net/~wiersch
  43.  
  44.